{include file="header.html"}
<div id="rightTop">
    <p><b>{$lang.order_detail}</b></p>
    <ul class="subnav">
    	<!-- {if $courseorder.status eq '已取消'} -->
    	<!-- {else} -->
        <li><a class="btn1" href="index.php?app=courseorder&act=cancel&id={$courseorder.order_id}">取消</a></li>
        <!-- {/if} -->
    </ul>
</div>
<div class="info">
    <div class="demand">
    </div>
    <div class="order_form">
        <h1>{$lang.order_info}</h1>
        <ul>
            <li><b>{$lang.order_sn}:</b>{$courseorder.order_sn|escape}</li>
            <li><b>{$lang.status}:</b> {$courseorder.status|escape}</li>
            <li><b>{$lang.add_time}:</b> {$courseorder.add_time|date:complete}</li>
            <li><b>{$lang.order_amount}:</b> <span class="red_common">{$courseorder.order_amount|price}</span></li>
        </ul>
        <div class="clear"></div>
    </div>
    <div class="order_form">
        <h1>{$lang.pay_info}</h1>
        <ul>
            <!-- {if $courseorder.pay_type} -->
            <li><b>{$lang.pay_type}:</b><span class="red_common">{$courseorder.pay_type|escape}</span></li>
            <!-- {/if} -->
            <!--{if $courseorder.pay_time}-->
            <li><b>{$lang.pay_time}:</b><span class="red_common">{$courseorder.pay_time|date:complete}</span></li>
            <!--{/if}-->
            <!--{if $courseorder.pay_amount}-->
            <li><b>{$lang.pay_amount}:</b><span class="red_common">{$courseorder.pay_amount|price}</span></li>
            <!--{/if}-->
            <!--{if $courseorder.finish_time}-->
            <li><b>{$lang.finish_time}:</b><span class="red_common">{$courseorder.finish_time|date:complete}</span></li>
            <!--{/if}-->
        </ul>
        <div class="clear"></div>
    </div>

    <div class="order_form">
        <h1>{$lang.buyer_info}</h1>
        <ul>
            <li><b>{$lang.user_name}:</b> {$courseorder.user_name|escape}</li>
            <li><b>{$lang.real_name}:</b> {$courseorder.real_name|escape}</li>
            <li><b>{$lang.consignee}:</b> {$courseorder.consignee|escape}</li>
            <li><b>{$lang.phone}:</b> {$courseorder.phone|escape}</li>
        </ul>
        <div class="clear"></div>
    </div>
    <div class="order_form">
        <h2>{$lang.course_info}</h2>
        <div class="order_info">
            <a href="javascript:void(0);" target="_blank" class="order_info_pic"><img width="50" height="50" alt="{$courseorder.name|escape}" src="{$courseorder.pic}" /></a>
            <div class="order_info_text"><a href="javascript:void(0);" target="_blank">{$courseorder.name|escape}</a></div>
            <p><b>{$lang.price} :</b> <span class="red_common">{$courseorder.price|price}</span></p>
            <p><b>{$lang.validity} :</b> {$courseorder.validity|date:complete}</p>
            <p><b>{$lang.lessons} :</b> <span class="red_common">{$courseorder.lessons|escape}</span></p>
        </div>
        <div class="clear"></div>
    </div>
</div>

{include file="footer.html"}
